package com.aorise.model.expose;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import org.springframework.validation.annotation.Validated;

/**
 * @Auther: zhouhao
 * @Date: 2019/7/10
 * @Description:    经纬度信息（需硬件设备带GPS/北斗功能）
 */
@Validated
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value="Pos",description="经纬度信息（需硬件设备带GPS/北斗功能）")
public class Pos {

    /**
     * 经度
     */
    @ApiModelProperty(value = "Longitude" ,example = "28.2277",dataType = "Float")
    private Float Longitude;
    /**
     * 纬度
     */
    @ApiModelProperty(value = "Latitude" ,example = "28.2277",dataType = "Float")
    private Float Latitude;

    @JsonProperty("Longitude")
    public Float getLongitude() {
        return Longitude;
    }

    @JsonProperty("Longitude")
    public void setLongitude(Float longitude) {
        Longitude = longitude;
    }

    @JsonProperty("Latitude")
    public Float getLatitude() {
        return Latitude;
    }

    @JsonProperty("Latitude")
    public void setLatitude(Float latitude) {
        Latitude = latitude;
    }
}
